-- Basic Cannon

local BULLET = {}

-- General Information
BULLET.Name = "Cannon balls"
BULLET.Author = "Tech"
BULLET.Description = "The old cannon."
BULLET.AdminOnly = false
BULLET.SuperAdminOnly = false

-- Appearance
BULLET.Model = "models/dav0r/hoverball.mdl"
BULLET.Material = "models/props_combine/metal_combinebridge001"
BULLET.Color = Color( 135, 135, 135 )
BULLET.Trail = nil

-- Effects / Sounds
BULLET.FireSound = {"CannonShot3.Single"}
BULLET.ExplosionSound = {"CannonShot1.Single","CannonShot2.Single"}
BULLET.FireEffect = "tankflash"
BULLET.ExplosionEffect = "HEATsplode"

-- Movement
BULLET.Speed = 50
BULLET.Gravity = 0.12
BULLET.RecoilForce = 5000
BULLET.Spread = 0

-- Damage
BULLET.DamageType = "BlastDamage"
BULLET.Damage = 225
BULLET.Radius = 50
BULLET.RangeDamageMul = 0.25
BULLET.NumberOfSlices = nil
BULLET.SliceDistance = nil
BULLET.PlayerDamage = 225
BULLET.PlayerDamageRadius = 100

-- Reloading/Ammo
BULLET.Reloadtime = 4
BULLET.Ammo = 0
BULLET.AmmoReloadtime = 0

BULLET.EnergyPerShot = 500

pewpew:AddBullet( BULLET )